package com.service.business.order.controller.rep;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.math.BigDecimal;
import java.util.Date;

/**
 * <dl>
 * <dt>back-end</dt>
 * <dd>Description:</dd>
 * <dd>Copyright: Copyright (C) 2015</dd>
 * <dd>Company: </dd>
 * <dd>CreateDate: 2019年11月20日</dd>
 * </dl>
 *
 * @author
 */
@Getter
@Setter
@ToString
public class OrderHrComboPageRep {
    /**
     * 订单id
     */
    private Integer id;
    /**
     * 订单号
     */
    private String hrOrderNo;

    /**
     * 总算力
     */
    private BigDecimal totalHashRate;
    /**
     * 填充算力
     */
    private BigDecimal totalPaddingHashRate;
    /**
     * 封装扇区
     */
    private String sector;
    /**
     * 订单累计收益，单位USDT
     */
    private BigDecimal accumulatedIncome;
    /**
     * 购买总价
     */
    private BigDecimal orderMoney;

    /**
     * 托管费率
     */
    private BigDecimal custodyFee;

    private String orderMoneyCoin;
    /**
     * 实际支付金额
     */
    private BigDecimal payMoney;
    /**
     * 支付方式(1:usdt全付，2:usdt+usdf)
     */
    private Integer payType;
    /**
     * 订单状态  -1:未支付已过期 0:未支付 1:已支付 2:已支付生效 3:已完成
     */
    private Integer orderStatus;
    /**
     * 付款时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date payTime;
    /**
     *
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date startTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date endTime;

    private Long validTime;
    /**
     * 是否续约 0-否 1-是
     */
    private Integer canRenewStatus;

    /**
     * 续约天数
     */
    private Integer renewalDays;

    /**
     * 质押数量
     */
    private BigDecimal pledgeNum;

    /**
     * FIL所需gas数量
     */
    private BigDecimal GasNum;


    /**
     * usdt数量
     */
    private BigDecimal usdtNum;
    /**
     * 续约操作时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date renewTime;
    /**
     * 冻结收益
     */
    private BigDecimal forestReleaseNum;
}
